<?php

// Config-fil for MyDNS

// Array of Cisco-style subnets that are allowed access
$__ACCESS_ALLOWED_IP = array(
	'62.128.239.0/27',
	'192.168.13.0/24',
	'84.53.30.30/32',
);

// The default values of new domains
$__DEFAULT_NEWDOMAIN_RECORD = array(
	'id'		=> null, // Leave this null, or you'll end up replacing some other domain :)
	'ns'		=> 'ns.cerum.no.',
	'mbox'		=> 'drift.cerum.no.',
	'serial'	=> '0000000000', // YYYYMMDDSS 
	'refresh'	=> '28800',
	'retry'		=> '7200',
	'expire'	=> '604800',
	'minimum'	=> '86400',
	'ttl'		=> '86400'
);

$__DEFAULT_NEWDOMAIN_RR = array(
	array(
		'id'	=> null,
		'type'	=> 'NS',
		'data'	=> 'ns.cerum.no.',
		'aux'	=> '0',
		'ttl'	=> '86400'
	),
	array(
		'id'	=> null,
		'type'	=> 'NS',
		'data'	=> 'ns2.cerum.no.',
		'aux'	=> '0',
		'ttl'	=> '86400'
	),
	array(
		'id'	=> null,
		'type'	=> 'MX',
		'data'	=> 'mail.kreasoft.no.',
		'aux'	=> '0',
		'ttl'	=> '86400'
	),
	array(
		'id'	=> null,
		'type'	=> 'A',
		'data'	=> '62.128.239.10',
		'aux'	=> '0',
		'ttl'	=> '86400'
	),
	array(
		'id'	=> null,
		'name'	=> 'www',
		'type'	=> 'A',
		'data'	=> '62.128.239.10',
		'aux'	=> '0',
		'ttl'	=> '86400'
	),
);
